package com.liao.learntest.job;

import lombok.Data;

/**
 * @author: liaowenqiang
 * @date: 2024/11/16 14:35
 * @description: 执行状态枚举
 **/
public enum  RunStatusEnum {

    PENDING(0, "待唤醒"),
    AWAKE(1, "已唤醒"),
    RUNNING(2, "执行中"),
    SUCCESS(3, "执行成功"),
    FAILURE(4, "执行失败");

    private Integer code;
    private String name;
    RunStatusEnum(Integer code,String name){
        this.code=code;
        this.name=name;
    }
}
